home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor2 / timer.doc < prev    next >
Text File  |  1995-03-31  |  4KB  |  79 lines

  1. Countdown Timers by Steve Mauser 
  2.  
  3. [See FLYING.DOC for more complete documentation.  -jkh-] 
  4.  
  5. This is a library of two countdown timer applications.  Both use 
  6. the graphics display to generate LARGE minute and second numerals 
  7. during the countdown. 
  8.  
  9. [Note: TIMER.LIB seems to be an "older" version of TIMER2.LIB, but 
  10.  I'm not sure.  If you figure out which library does what, 
  11.  congratulations.  Sorry for the confusion.  -jkh-] 
  12.  
  13. The first application, TIM1, is a dedicated one-minute timer for 
  14. initial holding pattern and standard-rate turn timing.  To start 
  15. this timer, press TIM1 in the library function menu, and the timer 
  16. will come up with 1:00 on the screen.  By pressing "GO" on the 
  17. menu, the timer will start and will not stop until reaching 0:00, 
  18. or until the "STOP" menu key is pressed.  Pressing the STOP key 
  19. prior to reaching zero will produce a beep, hold the display for 
  20. two seconds, and reset for a one-minute countdown.  Upon reaching 
  21. zero, the timer will continuously display zero and beep until the 
  22. STOP key is pressed.  After pressing STOP, the display will 
  23. continue timing upwards until the STOP key is pressed again.  At 
  24. this STOP, a beep is issued and the display will freeze for two 
  25. seconds prior to being reset to one minute for another count 
  26. cycle. 
  27.  
  28. Exit from this timer is by pressing the "STOP" menu key while 1:00 
  29. is displayed. 
  30.  
  31. The second application, TIMER, is a variable-time countdown timer 
  32. with a maximum time of 9 minutes and 59 seconds.  It comes up upon 
  33. activation and behaves just like the one-minute timer, except that 
  34. it provides for changing the starting time for countdown (such as 
  35. for final approach times, or second loops around holding 
  36. patterns). 
  37.  
  38. To change the countdown time, press "STOP" while the large display 
  39. is showing. Instead of exiting, as with the 1:00-minute timer, you 
  40. will be prompted for a new time which you enter in "248 enter" 
  41. format (for 2 minutes and 48 seconds). The new time will be 
  42. displayed and count begun upon your pressing the "GO" menu key.  
  43. Upon completion of the countdown, the 0:00 display will freeze and 
  44. a continuous alarm will sound.  Pressing the STOP key will begin 
  45. the upcount and the timer will continue to count upward until the 
  46. the STOP key is again pressed.  Following this STOP command, the 
  47. timer will reset to the initial time and be ready to countdown 
  48. again. 
  49.  
  50. To exit this second application, press "STOP" to get to the new- 
  51. time prompting menu, then press "enter" (not "STOP"), which will 
  52. enter a time of "0" for counting down. 
  53.  
  54. After running either the TIM1 or the TIMER application, you are 
  55. returned to the library menu (with TIM1 and TIMER showing in the 
  56. menu).  If you run TIM1, no changes are made to the rest of the 
  57. calculator memory.  However, if you  execute the TIMER function, 
  58. the last time used in the timer as the timer starting time is 
  59. stored in the directory to which the library is attached.  The  
  60. variable, TSTART, holds the contents of the start time.  Upon the 
  61. next startup of TIMER, it will look for this variable, and if it 
  62. exists in the current directory, or above, it will use the time 
  63. stored in this variable for the length of countdown.  
  64. Consequently, you can enter the desired countdown time prior to 
  65. executing the timer application, if you wish. 
  66.  
  67. If the TSTART variable does not exist, the timer will use 1:00 for 
  68. its initial starting time. 
  69.  
  70. Enjoy - I am also working on other pilot applications, although I 
  71. may have to ask for a fee to cover the divorce attorneys.  If you 
  72. have an interest in weight and balance calculations with a plot of 
  73. the relative position of the loaded airplane  within the envelope, 
  74. or if you have interest in a navigation program which selects the 
  75. best altitude for optimum winds, let me know.  These are a month 
  76. or two away - And then testing is a so and so. 
  77.  
  78. Steve Mauser 
  79.